Automattic\WooCommerce\Blocks\BlockTypes\Checkout S

Total Complexity 49
Dependencies 3
Dependents 1
Total lines 441
Lines of code 271
Logical lines of code 121
Comment lines 127
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
enqueue_data()
B
33 15 101
render()
A
42 10 53
hydrate_customer_payment_methods()
S
54 4 21
is_block_editor()
S
68 4 7
include_token_id_with_payment_methods()
S
62 4 10
get_checkout_block_types()
S
53 1 26
get_block_type_editor_script()
S
66 2 8
get_block_type_script()
S
66 2 8
is_checkout_endpoint()
S
79 2 3
get_block_type_style()
S
79 1 3
enqueue_assets()
S
74 1 5
get_enabled_payment_gateways()
S
67 1 9
hydrate_from_api()
S
63 1 10
register_block_type_assets()
S
68 1 7